import React from 'react';

import { Icon } from './base';

/**
 * 钱币
 *
 * @export
 * @class IconMoney
 * @extends {Icon}
 */
export default class IconMoney extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#424242',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M512 896C299.925333 896 128 724.074667 128 512S299.925333 128 512 128s384 171.925333 384 384-171.925333 384-384 384z m-120.554667-523.221333a16 16 0 0 0-18.666666 18.666666c7.466667 40.213333 11.221333 80.448 11.221333 120.682667 0 40.192-3.733333 80.341333-11.2 120.426667a16 16 0 0 0 18.645333 18.666666A657.813333 657.813333 0 0 1 512 640c40.192 0 80.362667 3.733333 120.554667 11.221333a16 16 0 0 0 18.645333-18.666666A656.682667 656.682667 0 0 1 640 512.128c0-40.170667 3.733333-80.405333 11.221333-120.682667a16 16 0 0 0-18.645333-18.666666c-40.192 7.466667-80.384 11.221333-120.576 11.221333-40.192 0-80.384-3.733333-120.554667-11.221333z"
                    fill={color}
                ></path>
            </svg>
        );
    }
}
